package com.ruoyi.analysis.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 维修汇总列表对象 warranty_result
 * 
 * @author ruoyi
 * @date 2024-10-08
 */
public class WarrantyResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date maintainTime;

    /** 维修人 */
    @Excel(name = "维修人")
    private String maintainName;

    /** 维修结果 */
    @Excel(name = "维修结果")
    private Long maintainResult;

    /** 维修情况（状态）*/
    @Excel(name = "维修情况", readConverterExp = "状=态")
    private Long maintainSituation;

    /** 说明 */
    @Excel(name = "说明")
    private String description;

    /** 保修申请编号 */
    @Excel(name = "保修申请编号")
    private Long maintainId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMaintainTime(Date maintainTime) 
    {
        this.maintainTime = maintainTime;
    }

    public Date getMaintainTime() 
    {
        return maintainTime;
    }
    public void setMaintainName(String maintainName) 
    {
        this.maintainName = maintainName;
    }

    public String getMaintainName() 
    {
        return maintainName;
    }
    public void setMaintainResult(Long maintainResult) 
    {
        this.maintainResult = maintainResult;
    }

    public Long getMaintainResult() 
    {
        return maintainResult;
    }
    public void setMaintainSituation(Long maintainSituation) 
    {
        this.maintainSituation = maintainSituation;
    }

    public Long getMaintainSituation() 
    {
        return maintainSituation;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setMaintainId(Long maintainId) 
    {
        this.maintainId = maintainId;
    }

    public Long getMaintainId() 
    {
        return maintainId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("maintainTime", getMaintainTime())
            .append("maintainName", getMaintainName())
            .append("maintainResult", getMaintainResult())
            .append("maintainSituation", getMaintainSituation())
            .append("description", getDescription())
            .append("maintainId", getMaintainId())
            .toString();
    }
}
